<?php
/**
 * MEEPO 米波现场
 *
 * 官网 http://meepo.com.cn 作者QQ 284099857
 */
global $_GPC, $_W;
$weid = $_W['uniacid'];
if($_W['isajax']){
	$rid = intval($_GPC['rid']);
	$award_id = intval($_GPC['award_id']);
	$data = pdo_fetchall("SELECT a.*,b.mobile  FROM ".tablename($this->lottory_user_table)." a,ims_meepo_xianchang_user b  WHERE a.weid=:weid AND a.rid=:rid AND a.lottory_id=:lottory_id AND a.user_id=b.id ORDER BY a.id ASC",array(':weid'=>$weid,':rid'=>$rid,':lottory_id'=>$award_id));
	$result = array('result'=>0,'data'=>$data);
	die(json_encode($result));
}